package com.sh.data.engine.repository.dao.datadev.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@TableName("tb_datadev_sync_field_mapping")
public class DatatdevSyncFieldMappingEntity extends EngineBaseModel<DatatdevSyncFieldMappingEntity> {

    private Long nodeId;

    /*来源字段名*/
    private String sourceField;

    /*来源字段类型*/
    private String sourceFieldType;

    /*来源字段是否是主键*/
    private Integer isSourceFieldPk;

    /*目标字段名*/
    private String targetField;

    /*目标字段类型*/
    private String targetFieldType;

    /*目标字段是否是主键*/
    private Integer isTargetFieldPk;

    /*目标字段长度*/
    private Integer targetColumnSize;

    /*目标字段小数位长度*/
    private Integer targetDecimalDigits;

    /*目标字段备注*/
    private String targetComment;

    /*日期编码格式*/
    private String dateFormat;

}

